/*
 * *新开医嘱，电子病历与其他直接切换，页面结构改变事件
 */

function changeEmrAndOther(){
	if(topTab =='0'){//电子病历
		 $(".right-container").addClass("hidden");
		 $(".slide-control").addClass("hidden");
		 $("#controlRightTabDiv").css("width",'100%');
		$(".middle-container").css("bottom","0");
//		$(".middle-container .three-column").css("display","none");
		$(".middle-container .three-column-content").css("top","30px");
		$(".middle-container .search-control").css("display","none");
		$(".middle-container .left-title").css("top","5px");
		$(".middle-container .left-content").css("top","45px");
		$("#foot-buttonGroup").css("display",'none');
		
	}else{
		if($(".middle-container .search-control").is(":hidden")){
			
			$("#foot-buttonGroup").css("display",'block');
			$(".right-container").removeClass("hidden");
			$(".slide-control").removeClass("hidden");
			$("#controlRightTabDiv").css("width",'80%');
			$(".middle-container").removeAttr("style");
//		$(".middle-container .three-column").removeAttr("style");
			$(".middle-container .three-column-content").removeAttr("style");
			$(".middle-container .search-control").removeAttr("style");
			$(".middle-container .left-title").removeAttr("style");
			$(".middle-container .left-content").removeAttr("style");
		}
		
		
	}
}